
$("#appMessageBar").ajaxStart(function() {
	alert('hi..');
	$("#loadingIcon").show();
	$("#messageBar").text('');
	$("#successIcon").hide();
	$("#errorIcon").hide();
	$("#warningIcon").hide();
});
$("#appMessageBar").ajaxSuccess(function(event, xhr, settings) {
	$("#loadingIcon").hide();
});

/*
 * $("#appMessageBar").ajaxError(function(event,xhr,settings) {
 * $("#loadingIcon").hide(); $("#errorIcon").show();
 * alert('xhr.response'+xhr.responseText); });
 */
